build: Don't dist generated example files with Autotools
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 6 Dec 2022 21:29:38 +0000 (21:29 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 6 Dec 2022 21:50:30 +0000 (21:50 +0000)
The generated resources.c file should not be part of the dist tarball.

examples/application10/Makefile.am
examples/application2/Makefile.am
examples/application3/Makefile.am
examples/application4/Makefile.am
examples/application5/Makefile.am
examples/application6/Makefile.am
examples/application7/Makefile.am
examples/application8/Makefile.am
examples/application9/Makefile.am

index c5bda45eba78ec9cce18cbcb766ce14b1758fa08..63f4746f6458b655bca140d3f7c137cbfc311655 100644 (file)
@@ -16,8 +16,8 @@ exampleapp_SOURCES =                          \
        main.c                                  \
        exampleapp.c exampleapp.h               \
        exampleappwin.c exampleappwin.h         \
-       exampleappprefs.c exampleappprefs.h     \
-       resources.c
+       exampleappprefs.c exampleappprefs.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES =                                \
        resources.c                             \
@@ -41,7 +41,7 @@ EXTRA_DIST =                                  \
        prefs.ui                                \
        gears-menu.ui                           \
        exampleapp.gresource.xml                \
-       org.gtk.exampleapp.gschema.xml  \
+       org.gtk.exampleapp.gschema.xml          \
        meson.build
 
 CLEANFILES =                                   \
index 8fc04789d8885084a60c536be7d6d5edbe2778e5..ae0aafc46a8ebb59310a561dc68c5c9fc484315c 100644 (file)
@@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
 exampleapp_SOURCES =                           \
        main.c                                  \
        exampleapp.c exampleapp.h               \
-       exampleappwin.c exampleappwin.h         \
-       resources.c
+       exampleappwin.c exampleappwin.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES = resources.c
 
@@ -26,7 +26,7 @@ resources.c: exampleapp.gresource.xml window.ui
 
 EXTRA_DIST =                                   \
        window.ui                               \
-       exampleapp.gresource.xml        \
+       exampleapp.gresource.xml                \
        meson.build
 
 -include $(top_srcdir)/git.mk
index 8fc04789d8885084a60c536be7d6d5edbe2778e5..ae0aafc46a8ebb59310a561dc68c5c9fc484315c 100644 (file)
@@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
 exampleapp_SOURCES =                           \
        main.c                                  \
        exampleapp.c exampleapp.h               \
-       exampleappwin.c exampleappwin.h         \
-       resources.c
+       exampleappwin.c exampleappwin.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES = resources.c
 
@@ -26,7 +26,7 @@ resources.c: exampleapp.gresource.xml window.ui
 
 EXTRA_DIST =                                   \
        window.ui                               \
-       exampleapp.gresource.xml        \
+       exampleapp.gresource.xml                \
        meson.build
 
 -include $(top_srcdir)/git.mk
index 7bc91ba1dfbb4676ccf2836b4c5aee077526965f..319fde3a63539267a03d83d9a40ec82a8317aef1 100644 (file)
@@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
 exampleapp_SOURCES =                           \
        main.c                                  \
        exampleapp.c exampleapp.h               \
-       exampleappwin.c exampleappwin.h         \
-       resources.c
+       exampleappwin.c exampleappwin.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES = resources.c
 
@@ -27,7 +27,7 @@ resources.c: exampleapp.gresource.xml window.ui app-menu.ui
 EXTRA_DIST =                                   \
        window.ui                               \
        app-menu.ui                             \
-       exampleapp.gresource.xml        \
+       exampleapp.gresource.xml                \
        meson.build
 
 -include $(top_srcdir)/git.mk
index b6f34e7043bacc4a1676b010877f2805b6cf80a2..4ae065c69100ff55f86e5bbac4c4f958b6f4007e 100644 (file)
@@ -15,8 +15,8 @@ exampleapp_LDADD = $(GTK_LIBS)
 exampleapp_SOURCES =                           \
        main.c                                  \
        exampleapp.c exampleapp.h               \
-       exampleappwin.c exampleappwin.h         \
-       resources.c
+       exampleappwin.c exampleappwin.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES =                                \
        resources.c                             \
@@ -38,7 +38,7 @@ EXTRA_DIST =                                  \
        window.ui                               \
        app-menu.ui                             \
        exampleapp.gresource.xml                \
-       org.gtk.exampleapp.gschema.xml  \
+       org.gtk.exampleapp.gschema.xml          \
        meson.build
 
 CLEANFILES =                                   \
index 9cf885ed105c6508d0af6242aab25e896442ea4e..fb2f69d53e5d7cbb98ffd85ff2c1c365df24079b 100644 (file)
@@ -16,8 +16,8 @@ exampleapp_SOURCES =                          \
        main.c                                  \
        exampleapp.c exampleapp.h               \
        exampleappwin.c exampleappwin.h         \
-       exampleappprefs.c exampleappprefs.h     \
-       resources.c
+       exampleappprefs.c exampleappprefs.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES =                                \
        resources.c                             \
@@ -40,7 +40,7 @@ EXTRA_DIST =                                  \
        app-menu.ui                             \
        prefs.ui                                \
        exampleapp.gresource.xml                \
-       org.gtk.exampleapp.gschema.xml  \
+       org.gtk.exampleapp.gschema.xml          \
        meson.build
 
 CLEANFILES =                                   \
index 9cf885ed105c6508d0af6242aab25e896442ea4e..fb2f69d53e5d7cbb98ffd85ff2c1c365df24079b 100644 (file)
@@ -16,8 +16,8 @@ exampleapp_SOURCES =                          \
        main.c                                  \
        exampleapp.c exampleapp.h               \
        exampleappwin.c exampleappwin.h         \
-       exampleappprefs.c exampleappprefs.h     \
-       resources.c
+       exampleappprefs.c exampleappprefs.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES =                                \
        resources.c                             \
@@ -40,7 +40,7 @@ EXTRA_DIST =                                  \
        app-menu.ui                             \
        prefs.ui                                \
        exampleapp.gresource.xml                \
-       org.gtk.exampleapp.gschema.xml  \
+       org.gtk.exampleapp.gschema.xml          \
        meson.build
 
 CLEANFILES =                                   \
index c5bda45eba78ec9cce18cbcb766ce14b1758fa08..63f4746f6458b655bca140d3f7c137cbfc311655 100644 (file)
@@ -16,8 +16,8 @@ exampleapp_SOURCES =                          \
        main.c                                  \
        exampleapp.c exampleapp.h               \
        exampleappwin.c exampleappwin.h         \
-       exampleappprefs.c exampleappprefs.h     \
-       resources.c
+       exampleappprefs.c exampleappprefs.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES =                                \
        resources.c                             \
@@ -41,7 +41,7 @@ EXTRA_DIST =                                  \
        prefs.ui                                \
        gears-menu.ui                           \
        exampleapp.gresource.xml                \
-       org.gtk.exampleapp.gschema.xml  \
+       org.gtk.exampleapp.gschema.xml          \
        meson.build
 
 CLEANFILES =                                   \
index c5bda45eba78ec9cce18cbcb766ce14b1758fa08..63f4746f6458b655bca140d3f7c137cbfc311655 100644 (file)
@@ -16,8 +16,8 @@ exampleapp_SOURCES =                          \
        main.c                                  \
        exampleapp.c exampleapp.h               \
        exampleappwin.c exampleappwin.h         \
-       exampleappprefs.c exampleappprefs.h     \
-       resources.c
+       exampleappprefs.c exampleappprefs.h
+nodist_exampleapp_SOURCES = resources.c
 
 BUILT_SOURCES =                                \
        resources.c                             \
@@ -41,7 +41,7 @@ EXTRA_DIST =                                  \
        prefs.ui                                \
        gears-menu.ui                           \
        exampleapp.gresource.xml                \
-       org.gtk.exampleapp.gschema.xml  \
+       org.gtk.exampleapp.gschema.xml          \
        meson.build
 
 CLEANFILES =                                   \